/**
 * Author(s): xuming.Wong <xuming.Wong@gmail.com>
 */

#ifndef __M2_ANIM_FILE_H__
#define __M2_ANIM_FILE_H__

#include "M2.h"
#include "FileBase.h"

namespace PQGame
{
	class M2AnimFile
	{
	public:
		~M2AnimFile(void);

		M2AnimFile(PQEngine::FileBase *f);
		
		
		inline int getSize()
		{
			return _fileSize;
		}

		inline void* getBuffer()
		{
			return _buf;
		}

	private:
		PQEngine::FileBase* _file;
		void* _buf;
		int _fileSize;
	};

	typedef std::vector<M2AnimFile*> M2AnimFileList;
}
#endif
